package com.example.personal.aiagent.chat.commonservice;

import com.example.personal.aiagent.common.constant.ErrorCode;
import com.example.personal.aiagent.common.exception.CustomServiceException;

import java.util.List;

/**
 * ChatException
 *
 * @author blacksea3(jxt) 2023/12/3 19:43
 */
public class ChatException extends CustomServiceException {
    private final ErrorCode errorCode = ErrorCode.SYSTEM_ERROR;

    public ChatException(String msg) {
        super(msg);
    }

    public ChatException(ErrorCode errorCode, List<String> params) {
        super(errorCode, params);
    }

    public ChatException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public ChatException(String msg, Throwable cause, ErrorCode errorCode, List<String> params) {
        super(msg, cause, errorCode, params);
    }
}
